using System;
using System.Collections.Generic;
using System.Reflection;

namespace RaisingStudio.SmallBasicCompiler
{
    [Serializable]
    public class TypeInfoBag : MarshalByRefObject
    {
        private Dictionary<string, TypeInfo> _types = new Dictionary<string, TypeInfo>();
        public MethodInfo StringToPrimitive;
        public MethodInfo NumberToPrimitive;
        public MethodInfo PrimitiveToBoolean;
        public MethodInfo Negation;
        public MethodInfo Add;
        public MethodInfo Subtract;
        public MethodInfo Multiply;
        public MethodInfo Divide;
        public MethodInfo EqualTo;
        public MethodInfo NotEqualTo;
        public MethodInfo LessThan;
        public MethodInfo LessThanOrEqualTo;
        public MethodInfo GreaterThan;
        public MethodInfo GreaterThanOrEqualTo;
        public MethodInfo And;
        public MethodInfo Or;
        public MethodInfo GetArrayValue;
        public MethodInfo SetArrayValue;
        public Dictionary<string, TypeInfo> Types
        {
            get
            {
                return this._types;
            }
        }
    }
}
